package cn.jimmie.learn.viewArt.captcha.internal;

import android.graphics.Bitmap;
import android.graphics.Paint;
import android.graphics.Path;
import android.widget.ImageView;

/**
 * function :
 *
 * <p> Create Time: 2018年12月09日 11:00 </p>
 * <p> @author Jimmie.Qian  </p>
 */
public interface BlockFunc {
    void generateBlockPath(Path path, Position position, int blockWidth, int blockHeight);

    void generateRandomPosition(Position position, int blockWidth, int blockHeight, int viewWidth, int viewHeight);

    Bitmap createBlockBitmap(ImageView view, Path path);

    Paint createBlockShadowPaint();

    Paint createBlockMaskPaint();
}
